package cn.lhl.dao.company;

import cn.lhl.domain.company.Company;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface CompanyDao {

    //查询所有企业名称
    List<Company> findAll();

    void save(Company company);

    Company findById(String id);

    void update(Company company);

    void delete(String id);

    long findCount();

    List<Company> findByPage(@Param("index") int index,@Param("size") int size);
}
